GtkTextView: add create_buffer virtual method pointer
authorSébastien Wilmet <swilmet@gnome.org>
Wed, 12 Jun 2013 11:27:17 +0000 (13:27 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Thu, 26 Sep 2013 16:36:20 +0000 (18:36 +0200)
commitf75aa5fdb455b324d62b67ec9c51c98b795dbf0f
tree02786cc145b114e2aba8b5720dba3d95377f69a7
parentcb867d88bb97c76b7c572aa7ffdfa8cc75792f9e
GtkTextView: add create_buffer virtual method pointer

This allows subclasses of GtkTextView that require a corresponding
subclass of GtkTextBuffer to automatically do the right thing when
constructed with a NULL buffer. An example of this is GtkSourceView
which requires a GtkSourceBuffer.

https://bugzilla.gnome.org/show_bug.cgi?id=708584
gtk/gtktextview.c
gtk/gtktextview.h